package com.mind.adjust.task;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.mind.customer.mapper.AjCallApiDetailMapper;
import com.mind.customer.mapper.AjCallApiMapper;
import com.mind.system.domain.AjAttachResult;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;


@Component("syncCallApiTask")
public class SyncCallApiTask {
    @Resource
    private AjCallApiMapper callApiMapper;

    @Resource
    private AjCallApiDetailMapper callApiDetailMapper;
    public void syncCallApi() {
        System.out.println("定时任务执行");

    }

    public void syncCallApiByDate(String startDate, String endDate) {
        QueryWrapper<AjAttachResult> queryWrapper = new QueryWrapper<>();
        queryWrapper.between("create_time", startDate, endDate);
        queryWrapper.ne("status", "发票");


    }
}
